package Animal;

public class dog extends Animal{

    public dog(String name) {
        super(name);
    }
    public void eat(){
        System.out.println(this.name+"在吃骨头");
    }
    public void act(){
        System.out.println(this.name+"在地上跑");
    }
}
